package com.cn.designpatterns.ex.concrete.visitor.people;

/**
 * @author zhangyi
 * @date 2018/12/25 13:08
 */
public class Jack implements People {
    @Override
    public void look(PeopleVisitor peopleVisitor) {
        System.out.println("Jack look");
    }

    @Override
    public void eat(PeopleVisitor peopleVisitor) {
        System.out.println("Jack eat");
    }

    @Override
    public void walk(PeopleVisitor peopleVisitor) {
        System.out.println("Jac walk");
    }
}
